<?php
/**
 * Intreface DAO
 *
 * @author: http://phpdao.com
 * @date: 2015-05-26 14:36
 */
interface EventMoviesDAO{

	/**
	 * Get Domain object by primry key
	 *
	 * @param String $id primary key
	 * @Return EventMovies 
	 */
	public function load($id);

	/**
	 * Get all records from table
	 */
	public function queryAll();
	
	/**
	 * Get all records from table ordered by field
	 * @Param $orderColumn column name
	 */
	public function queryAllOrderBy($orderColumn);
	
	/**
 	 * Delete record from table
 	 * @param eventMovie primary key
 	 */
	public function delete($id);
	
	/**
 	 * Insert record to table
 	 *
 	 * @param EventMovies eventMovie
 	 */
	public function insert($eventMovie);
	
	/**
 	 * Update record in table
 	 *
 	 * @param EventMovies eventMovie
 	 */
	public function update($eventMovie);	

	/**
	 * Delete all rows
	 */
	public function clean();

	public function queryByEventId($value);

	public function queryByMovieName($value);

	public function queryByStarCast($value);

	public function queryByDirector($value);

	public function queryByProducer($value);

	public function queryByReleasedDate($value);

	public function queryByDiscription($value);

	public function queryByBannerImage($value);

	public function queryByLogo($value);

	public function queryByStarCastsId($value);

	public function queryByYoutubeUrl($value);

	public function queryByCreatedBy($value);

	public function queryByCreatedDate($value);

	public function queryByUpdatedBy($value);

	public function queryByUpdatedDate($value);

	public function queryByStatus($value);


	public function deleteByEventId($value);

	public function deleteByMovieName($value);

	public function deleteByStarCast($value);

	public function deleteByDirector($value);

	public function deleteByProducer($value);

	public function deleteByReleasedDate($value);

	public function deleteByDiscription($value);

	public function deleteByBannerImage($value);

	public function deleteByLogo($value);

	public function deleteByStarCastsId($value);

	public function deleteByYoutubeUrl($value);

	public function deleteByCreatedBy($value);

	public function deleteByCreatedDate($value);

	public function deleteByUpdatedBy($value);

	public function deleteByUpdatedDate($value);

	public function deleteByStatus($value);


}
?>